<!DOCTYPE html>
<html lang="en"
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>管理员后台登录页面</title>
    <!--springboot 会自动找static目录-->
    <link rel="stylesheet" type="text/css" href="/css/admin.css">
</head>
<body>
<!--创建登陆页面-->
<div class="form">
    <div class="title">后台登录</div>
    <form action="/admin/login_submit" method="post">
        <table>
            <tr>
                <td>用户名</td>
                <td>
                    <input type="text" name="userName">
                </td>
            </tr>
            <tr>
                <td>密码</td>
                <td>
                    <input type="password" name="password">
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <input type="submit" value="登录">
                    <div th:text="${err}" style="color: red"></div>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>